/*
** free_tab.c for my.h in /home/le_e//project/projet_b1/minishell
** 
** Made by canh-kiet le
** Login   <le_e@epitech.net>
** 
** Started on  Wed Feb 29 22:49:16 2012 canh-kiet le
** Last update Sat Mar  3 00:39:48 2012 canh-kiet le
*/

#include	"my.h"

void		free_tab(char **tab)
{
  int		i;

  i = 0;
  while (tab[i] != NULL)
    {
      free(tab[i]);
      i++;
    }
  free(tab);
}
